package com.ruoyi.system.domain.xtkj;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author Administrator
 * @description 分页数据响应结构
 * @data 2025/10/15 15:51
 */
public class PageDataResponse<T> {

    @JsonProperty("Total")
    private Integer total;

    @JsonProperty("DataInfo")
    private List<T> dataInfo;

    @JsonProperty("Code")
    private Integer code;

    @JsonProperty("Msg")
    private String msg;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<T> getDataInfo() {
        return dataInfo;
    }

    public void setDataInfo(List<T> dataInfo) {
        this.dataInfo = dataInfo;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
